<script setup>
import axios from 'axios'
import { ref } from 'vue';
const user = ref({})
const fn = async() => {
 const res = await axios.get('http://127.0.0.1:4523/m1/673420-0-default/book')
 console.log(res.data.data);
 user.value = res.data.data
}
console.log(111111111111111111)
fn()
</script>

<template>
  <div>快速充值s</div>
  <p>姓名:{{user.username}}</p>
  <img :src="user.portrait" alt="">
  <p>介绍{{user.introduce}}</p>
</template>
<style lang="less" scoped>

</style>